* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: scroll;
}

html {
    font-size: 8.89px;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

ul,
li {
    list-style: none;
}

@media only screen and (min-width: 320px) {
    html {
        font-size: 8.89px;
    }
}

@media only screen and (min-width: 360px) {
    html {
        font-size: 10px;
    }
}

@media only screen and (min-width: 375px) {
    html {
        font-size: 10.42px;
    }
}

@media only screen and (min-width: 400px) {
    html {
        font-size: 11.11px;
    }
}

@media only screen and (min-width: 414px) {
    html {
        font-size: 11.50px;
    }
}

@media only screen and (min-width: 480px) {
    html {
        font-size: 13.33px;
    }
}

@media only screen and (min-width: 540px) {
    html {
        font-size: 15px;
    }
}


/* app样式 */

#app {
    width: 100%;
    height: 100%;
    background: #F1F3F5;
    overflow: auto;
    position: relative;
}

#app.dark {
    background-color: #000000
}

#app::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}


/*TODO:确认是否下方留白 */

#app .addHeight {
    height: 28px;
}

#app .appMargin {
    margin: 0 16px;
    position: relative;
}


/* --------------设备+logo --------------------*/

.devImg {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.devImg .devTop {
    height: 80px;
}

.devImg .deviceImg {
    width: 252px;
    height: 252px;
    align-self: center;
}

.devImg .logo {
    width: 70px;
    height: 18px;
    align-self: center;
}

.dark .devImg .logo {
    width: 70px;
    height: 18px;
    align-self: center;
}


/* ————————————————设备状态区—————————————————— */


/* 状态区盒子样式 */

.devStatus {
    width: 100%;
    height: 88px;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    position: relative;
    font-weight: bold;
    border-radius: 16px;
    background: #FFFFFF;
}

.dark .devStatus {
    background: #303030;
}

.power {
    width: 48px;
    height: 48px;
}

.disconnect .power {
    width: 40px;
    height: 40px;
}


/* 状态区文字样式 */

.devStatus .statustitle {
    width: 24%;
    position: absolute;
    left: 16px;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    font-size: 18px;
    color: #000000;
    opacity: 90%;
}

.dark .devStatus .statustitle {
    color: #FFFFFF;
    opacity: 86%;
    background: #303030;
}


/* 状态区按钮样式 */

.devStatus .statusButton {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 16px;
    color: #0A59F7;
}

.dark .devStatus .statusButton {
    color: #5291FF
}


/* ————————————————显示区———————————————— */


/* 显示区卡片样式 */

.devInfo {
    width: 100%;
    margin-top: 12px;
    height: 88px;
    border-radius: 16px;
    background: #FFFFFF;
    position: relative;
}

.dark .devInfo {
    background-color: #303030;
}

.disconnect .devInfo {
    opacity: 40%;
}

.disabled .devInfo {
    opacity: 40%;
}


/* 显示区样式 */

.devInfo .infoList {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    display: flex;
    text-align: center;
}

.devInfo .infoList .infoItem {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.devInfo .infoList .infoLine {
    width: 1px;
    height: 24px;
    align-self: center;
    background: #000000;
    opacity: 50%;
    transform: scaleX(0.25);
}

.dark .devInfo .infoList .infoLine {
    background: #FFFFFF;
    opacity: 50%;
}


/* 显示区变量 */

.parameterApparatusNum {
    font-size: 24px;
    color: #000000;
    opacity: 90%;
    background-color: #ffffff;
}

.dark .parameterApparatusNum {
    color: #ffffff;
    opacity: 86%;
    background-color: #303030;
}

.disconnect .parameterApparatusNum {
    color: #000000;
    opacity: 40%;
}

.dark.disconnect .parameterApparatusNum {
    color: #FFFFFF;
    opacity: 40%;
}


/* 显示区单位 */

.parameterApparatusDes {
    font-size: 12px;
    color: #000000;
    opacity: 60%;
    background-color: #ffffff;
}

.dark .parameterApparatusDes {
    color: #ffffff;
    background-color: #303030;
}


/* 显示区名 */

.parameterApparatusUnit {
    font-size: 12px;
    color: #000000;
    opacity: 60%;
    background-color: #ffffff;
}

.dark .parameterApparatusUnit {
    color: #ffffff;
    background-color: #303030;
}


/* ————————————————功能区 ————————————————*/


/* 功能区卡片样式 */

.ctrl {
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    border-radius: 16px;
    font-weight: bold;
}

.ctrlItem {
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    border-radius: 16px;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    opacity: 90%;
}

.spinner {
    padding-left: 16px;
}

.ctrlcontent {
    padding-left: 16px;
    font-weight: bold;
}

.disabled .ctrlItem {
    opacity: 40%;
}

.dark .ctrlItem {
    background: #303030;
}


/* 滑动条区卡片样式 */

.slideCom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 16px 24px 16px 0;
    margin-top: 12px;
    background-color: #FFFFFF;
    border-radius: 16px;
}

.dark .slideCom {
    background-color: #303030;
}

.disabled .slideCom {
    opacity: 40%;
}

.sliderWrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding-left: 16px;
    font-weight: bold;
}


/* 功能区图标大小 */

.fnBox {
    width: 40px;
    height: 24px;
    padding-right: 16px;
}

.hotIcon {
    width: 24px;
    height: 24px;
}


/* 功能区标题 */

.equipmentControlSwitch {
    font-size: 16px;
    color: #000000;
    opacity: 90%;
    background-color: #FFFFFF;
}

.dark .equipmentControlSwitch {
    color: #FFFFFF;
    opacity: 86%;
    background-color: #303030;
}

.disabled .equipmentControlSwitch {
    color: #000000;
    opacity: 40%;
}

.dark.disabled .equipmentControlSwitch {
    color: #FFFFFF;
    opacity: 40%;
}


/* 功能区副标题  */

.equipmentControlIcon {
    font-size: 12px;
    color: #000000;
    opacity: 60%;
}

.dark .equipmentControlIcon {
    color: #ffffff;
    opacity: 60%;
    background-color: #303030;
}


/* 滑动条样式 */

.rang {
    width: 100%;
    height: 100%;
    align-items: center;
    flex: 2;
    position: relative;
    padding-left: 1;
}

.stripLeft {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 300px;
    width: 0px;
    height: 4px;
    background-color: #0A59F7;
    z-index: 4;
}

.dark .stripLeft {
    background-color: #317AF7;
}

.stripRight {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 300px;
    width: 100%;
    height: 4px;
    background-color: #000000;
    opacity: 10%;
    z-index: 3;
}

.dark .stripRight {
    background-color: #FFFFFF;
    opacity: 10%;
}

.slider {
    position: relative;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 500%;
    width: 16px;
    height: 16px;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 9;
    touch-action: none;
    pointer-events: none;
}

.person {
    pointer-events: none;
}